home *** CD-ROM | disk | FTP | other *** search
/ Freaks Macintosh Archive / Freaks Macintosh Archive.bin / Freaks Macintosh Archives / Textfiles / cracking / BeginnersMacAssembly.sit.hqx / BeginnersMacAssembly.rsrc / PICT_32.png < prev    next >
Portable Network Graphic  |  1997-07-26  |  109KB  |  816x1056  |  8-bit (256 colors)
Labels: book | bulletin board | encyclical | poster | reckoner | sky | windowpane
OCR: depanding topche size. An intenahcounter kteps traakhot :ahobotstao thodabetins simply oppaarnbo the counter. For example: fred: stu cath: rs.w If these are the offsets for the variables that are accessed off a6 then is the same as stu(a6) is 4(a6) and cath(a6) is 6(a6) you because words and longs are always placed on pioM boundaries. For more information see the Fantasm user manual more specit fically see A5 global variables Here example written to use position independent code: * * * * * * ****** *FIL ENAME EXAMPL E3 *DESCRIPTION: PROGR AM TO ADD NUMBERS TOGETHER AND PRINTTHE RESULT IN A WINDOW WRIT TEN IN POSITION INDEPENDENT CODE EXAMPLE3: LEA EX3 VARS(PC),A6 *A6 POINTS TO OUR VARIABLES BSR INIT CURSOR *part of io lib.s LEA WINDOW TITI E(PC) .AO BSR OPEN WINDOW *PART OF LIB.S MOVE.L AO ...